/**
 * 
 */
package cn.tsmchina.one.domain.recommendation;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author alucard
 *热卖推荐实体
 */

@Entity
@Table(name="tb_recommend")
public class Recommend implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue
	private int id;
	
	@Column
	private String recName;//热卖名称

	@Column
	private Date createDate; //创建时间
	
	@Column(columnDefinition="text")
	private String recContent;//推荐内容
	
	@Column
	private String images;//活动封面图片
	
	@Column(columnDefinition="int(1) default 0")
	private boolean delflag;//是否删除
	
	
	@Column
	private String summary;//摘要
	

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getRecName() {
		return recName;
	}

	public void setRecName(String recName) {
		this.recName = recName;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getRecContent() {
		return recContent;
	}

	public void setRecContent(String recContent) {
		this.recContent = recContent;
	}

	public String getImages() {
		return images;
	}

	public void setImages(String images) {
		this.images = images;
	}

	public boolean isDelflag() {
		return delflag;
	}

	public void setDelflag(boolean delflag) {
		this.delflag = delflag;
	}

}
